home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Demos / OOFILE / Buildable, limited OOFILE / c-tree headers / cterrc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-12  |  21.6 KB  |  447 lines  |  [TEXT/CWIE]

  1. /*
  2.  *    This program is the CONFIDENTIAL and PROPRIETARY property 
  3.  *    of FairCom(R) Corporation. Any unauthorized use, reproduction or
  4.  *    transfer of this computer program is strictly prohibited.
  5.  *
  6.  *      Copyright (c) 1984 - 1994 FairCom Corporation.
  7.  *    This is an unpublished work, and is subject to limited distribution and
  8.  *    restricted disclosure only. ALL RIGHTS RESERVED.
  9.  *
  10.  *            RESTRICTED RIGHTS LEGEND
  11.  *    Use, duplication, or disclosure by the Government is subject to
  12.  *    restrictions set forth in subparagraph (c)(1)(ii) of the Rights in
  13.  *     Technical Data and Computer Software clause at DFARS 252.227-7013.
  14.  *    FairCom Corporation, 4006 West Broadway, Columbia, MO 65203.
  15.  *
  16.  *    c-tree PLUS(tm)    Version 6.4
  17.  *            Release B
  18.  *            October 19, 1994
  19.  */
  20. #ifndef ctERRCH
  21. #define ctERRCH
  22.  
  23.         /* USER ERROR CODES */
  24.  
  25. #define NO_ERROR    0
  26.  
  27. #define    KDUP_ERR    2    /* Key value already exists */
  28.  
  29. #define    KMAT_ERR    3    /* Could not delete since pntr's don't match */
  30. #define    KDEL_ERR    4    /* Could not find key to delete */
  31. #define    KBLD_ERR    5    /* Cannot call delete w/o verification with  */
  32.                 /* duplicate keys */
  33. #define BJMP_ERR    6    /* c-tree(...) jump table error */
  34. #define TUSR_ERR    7    /* Terminate user */
  35. #define FCNF_COD    -8    /* sysiocod value when FNOP_ERR caused by
  36.                    conflicting open requests (server) */
  37.  
  38. #define SPAC_ERR    10    /* INTREE parameters require too much space */
  39. #define SPRM_ERR    11    /* Bad INTREE parameters */
  40. #define FNOP_ERR    12    /* Could not open file: not there or locked */
  41. #define    FUNK_ERR    13    /* Unknown file type */
  42. #define FCRP_ERR    14    /* File corrupt at open */
  43. #define FCMP_ERR    15    /* File has been compacted */
  44. #define KCRAT_ERR    16    /* Could not create index file */
  45. #define DCRAT_ERR    17    /* Could not create data file */
  46. #define KOPN_ERR    18    /* Tried to create existing index file */
  47. #define DOPN_ERR    19    /* Tried to create existing data file */
  48. #define KMIN_ERR    20    /* Key length too large for node size */
  49. #define DREC_ERR    21    /* Record length too small */
  50. #define FNUM_ERR    22    /* File number out of range */
  51. #define KMEM_ERR    23    /* Illegal index member info */
  52. #define FCLS_ERR    24    /* Could not close file */
  53. #define KLNK_ERR    25    /* Bad link in deleted node list. REBUILD */
  54. #define FACS_ERR    26    /* File number not active */
  55. #define LBOF_ERR    27    /* drn before beginning of data records */
  56. #define ZDRN_ERR    28    /* Zero drn in ADDKEY */
  57. #define ZREC_ERR    29    /* Zero drn in data file routine */
  58. #define LEOF_ERR    30    /* drn exceeds logical end of file */
  59. #define DELFLG_ERR    31    /* Flag not set on record in delete chain */
  60. #define    DDRN_ERR    32    /* Attempt to delete record twice in a row */
  61. #define DNUL_ERR    33    /* Attempt to use NULL ptr in read/write */
  62. #define PRDS_ERR    34    /* Predecessor repeat attempts exhausted */
  63. #define SEEK_ERR    35    /* Seek error:  check sysiocod value  */
  64. #define READ_ERR    36    /* Read error:  check sysiocod error  */
  65. #define WRITE_ERR    37    /* Write error: check sysiocod error */
  66. #define    VRTO_ERR    38    /* Could not convert virtual open to actual */
  67. #define FULL_ERR    39    /* No more records availble */
  68. #define KSIZ_ERR    40    /* Index node size too large */
  69. #define UDLK_ERR    41    /* Could not unlock data record */
  70. #define DLOK_ERR    42    /* Could not obtain data record lock */
  71. #define FVER_ERR    43    /* Version incompatibility */
  72. #define OSRL_ERR    44    /* Data file serial number overflow */
  73. #define KLEN_ERR    45    /* Key length exceeds MAXLEN parameter */
  74. #define    FUSE_ERR    46    /* File number already in use */
  75. #define FINT_ERR    47    /* c-tree has not been initialized */
  76. #define FMOD_ERR    48    /* Operation incompatible with type of file */
  77. #define    FSAV_ERR    49    /* Could not save file */
  78. #define LNOD_ERR    50    /* Could not lock node */
  79. #define UNOD_ERR    51    /* Could not unlock node */
  80. #define KTYP_ERR    52    /* Variable length keys disabled OR invalid key type */
  81. #define FTYP_ERR    53    /* File mode inconsistent with c-tree config  */
  82. #define REDF_ERR    54    /* Attempt to write a read only file */
  83. #define DLTF_ERR    55    /* File deletion failed */
  84. #define DLTP_ERR    56    /* File must be opened exclusive for delete */
  85. #define DADV_ERR    57    /* Proper lock is not held (CHECKLOCK/READ) */
  86. #define KLOD_ERR    58    /* LOADKEY called with incorrect key number. 
  87.                    You cannot continue */
  88. #define KLOR_ERR    59    /* LOADKEY called with key out of order 
  89.                    You may skip this key & continue */
  90. #define KFRC_ERR    60    /* Percent out of range */
  91. #define CTNL_ERR    61    /* NULL fcb detected during I/O */
  92. #define LERR_ERR    62    /* File must be opened exclusively */
  93. #define RSER_ERR    63    /* Start file / log file serial number error */
  94. #define RLEN_ERR    64    /* Checkpoint past end of log file */
  95. #define RMEM_ERR    65    /* Not enough memory during tran processing */
  96. #define RCHK_ERR    66    /* Log file entry failed to find checkpoint */
  97. #define RENF_ERR    67    /* Could not rename file */
  98. #define LALC_ERR    68    /* Could not allocate memory for control list */
  99. #define BNOD_ERR    69    /* Node does not belong to index */
  100. #define TEXS_ERR    70    /* Transaction already pending */
  101. #define TNON_ERR    71    /* No active transaction */
  102. #define TSHD_ERR    72    /* No space for shadow buffer */
  103. #define TLOG_ERR    73    /* LOGFIL encountered during shadow only */
  104. #define TRAC_ERR    74    /* Recovery: two active tran for user */
  105. #define TROW_ERR    75    /* Recovery: bad tran owner */
  106. #define TBAD_ERR    76    /* Recovery: bad tran type */
  107. #define TRNM_ERR    77    /* Recovery: file name too long */
  108. #define TABN_ERR    78    /* Transaction abandoned: too many log extents 
  109.                    or dynamic dump wait exhausted */
  110. #define FLOG_ERR    79    /* Could not log file opn/cre/cls/del */
  111. #define BKEY_ERR    80    /* NULL target or bad keyno */
  112. #define ATRN_ERR    81    /* Transaction allocation error */
  113. #define UALC_ERR    82    /* User allocation error */
  114. #define IALC_ERR    83    /* ISAM allocation error */
  115. #define MUSR_ERR    84    /* Maximum users exceeded */
  116. #define LUPD_ERR    85    /* Reduce lock to read lock after update */
  117. #define DEAD_ERR    86    /* Dead lock detected */
  118. #define QIET_ERR    87    /* System not quiet: files in use */
  119. #define LMEM_ERR    88    /* Linked list memory allocation error */
  120. #define TMEM_ERR    89    /* Memory allocation during tran processing */
  121. #define NQUE_ERR    90    /* Could not create queue */
  122. #define QWRT_ERR    91    /* Queue write error */
  123. #define QMRT_ERR    92    /* Queue memory error during write */
  124. #define QRED_ERR    93    /* Queue read error */
  125. #define PNDG_ERR    94    /* Pending error: cannot save or commit tran */
  126. #define STSK_ERR    95    /* Could not start task */
  127. #define LOPN_ERR    96    /* Start-file/log open error */
  128. #define SUSR_ERR    97    /* Bad user handle */
  129. #define BTMD_ERR    98    /* Bad transaction mode */
  130. #define TTYP_ERR    99    /* Transaction type / filmod conflict */
  131.  
  132. #define    ICUR_ERR    100    /* No current record for isam datno */
  133. #define    INOT_ERR    101    /* Could not find isam keyno request */
  134. #define INOD_ERR    102    /* Could not open ISAM parameter file */
  135. #define IGIN_ERR    103    /* Could not read first 5 parameters in ISAM 
  136.                    parameter file */
  137. #define IFIL_ERR    104    /* Too many files in ISAM parameter file */
  138. #define IUND_ERR    105    /* Could noy undo ISAM update. Rebuild Files */
  139. #define IDRI_ERR    106    /* Could not read data file record in ISAM 
  140.                    parameter file */
  141. #define IDRK_ERR    107    /* Too many keys for data file in ISAM 
  142.                    parameter file */
  143. #define IMKY_ERR    108    /* Incorrect keyno for index member in 
  144.                    parameter file */
  145. #define IKRS_ERR    109    /* Too many key segments defined in ISAM 
  146.                    parameter file */
  147. #define ISRC_ERR    110    /* Could not read segment record in ISAM 
  148.                    parameter file */
  149. #define    IKRI_ERR    111    /* Could not read index file record in ISAM 
  150.                    parameter file */
  151. #define IPND_ERR    112    /* LKISAM(ENABLE) found pending locks */
  152. #define INOL_ERR    113    /* No memory for user lock table */
  153. #define IRED_ERR    114    /* 1st byte of data record equals delete flag 
  154.                    or bad variable length record mark */
  155. #define ISLN_ERR    115    /* Key segments do not match key length */
  156. #define IMOD_ERR    116    /* Bad mode parameter */
  157. #define    IMRI_ERR    117    /* Could not read index member record */
  158. #define SKEY_ERR    118    /* NXTSET called before FRSSET for keyno */
  159. #define SKTY_ERR    119    /* FRSSET called for index with wrong keytyp */
  160.  
  161. #define RRLN_ERR    120    /* Data record length exceeds rebuild max */
  162. #define RSPC_ERR    121    /* Not enough space for sort area */
  163. #define RMOD_ERR    122    /* Attempt to change fixed vs variable len */
  164. #define    RVHD_ERR    123    /* Var length header has bad record mark */
  165. #define INIX_ERR    124    /* # of indices does not match (OPNIFIL) */
  166. #define IINT_ERR    125    /* c-tree already initialized */
  167.  
  168. #define ABDR_ERR    126    /* Bad directory path get */
  169. #define ARQS_ERR    127    /* Could not send request */
  170. #define ARSP_ERR    128    /* Could not receive answer */
  171. #define NINT_ERR    129    /* c-tree not initialized */
  172. #define AFNM_ERR    130    /* Null file name pointer in OPNFIL */
  173. #define AFLN_ERR    131    /* File name length exceeds msg size */
  174. #define ASPC_ERR    132    /* No room for application message buffer */
  175. #define ASKY_ERR    133    /* Server is not active */
  176. #define ASID_ERR    134    /* Could not get servers message id */
  177. #define AAID_ERR    135    /* Could not allocate application id */
  178. #define AMST_ERR    136    /* Could not get application msg status */
  179. #define AMQZ_ERR    137    /* Could not set message appl msg size */
  180. #define AMRD_ERR    138    /* Could not get rid of application msg */ 
  181. #define ABNM_ERR    139    /* Badly formed file name */
  182. #define VMAX_ERR    140    /* Variable record length too long */
  183. #define AMSG_ERR    141    /* Required message size exceeds maximum */
  184.  
  185. #define SMXL_ERR    142    /* Application MAXLEN > server's MAXLEN */
  186. #define SHND_ERR    143    /* Communications handler not installed */
  187. #define QMEM_ERR    144    /* Application could not id output queue */
  188. #define SCSF_ERR    145    /* Could not find COMM software */
  189. #define    VDLK_ERR    146    /* Could not update free space info */
  190. #define VDLFLG_ERR    147    /* Space to be reused is not marked deleted */
  191. #define    VLEN_ERR    148    /* WRTVREC cannot fit record at recbyt */
  192. #define    VRLN_ERR    149    /* Varlen less than minimum in ADDVREC */
  193. #define SHUT_ERR    150    /* Server is shutting down */
  194. #define STRN_ERR    151    /* Could not shut down. transactions pending */
  195. #define LEXT_ERR    152    /* Could not extend logfile */
  196. #define    VBSZ_ERR    153    /* Buffer too small */
  197. #define    VRCL_ERR    154    /* Zero length record in REDVREC */
  198. #define SYST_ERR    155    /* Native system failure */
  199. #define NTIM_ERR    156    /* timeout error */
  200. #define    VFLG_ERR    158    /* REDVREC record not marked active */
  201. #define    VPNT_ERR    159    /* Zero recbyt value */
  202. #define ITIM_ERR    160    /* Multi-user interefernce: index information
  203.                    updated by the time user got to actual data
  204.                    record */
  205. #define SINA_ERR    161    /* User appears inactive */
  206. #define SGON_ERR    162    /* Server has gone away */
  207. #define SFRE_ERR    163    /* No more room in server lock table */
  208. #define SFIL_ERR    164    /* File number out of range */
  209. #define SNFB_ERR    165    /* No file control block available */
  210. #define SNMC_ERR    166    /* No more ct file control blocks in server */
  211. #define SRQS_ERR    167    /* Could not read request */
  212. #define SRSP_ERR    168    /* Could not send answer */
  213. #define TCRE_ERR    169    /* Create file already opened (in recovery) */
  214.  
  215. #define SFUN_ERR    170    /* Bad function number */
  216. #define SMSG_ERR    171    /* Application msg size exceeds server size */
  217. #define SSPC_ERR    172    /* Could not allocate server msg buffer */
  218. #define SSKY_ERR    173    /* Could not identify server */
  219. #define SSID_ERR    174    /* Could not get server message id */
  220. #define SAMS_ERR    175    /* Server could not allocate user msg area */    
  221. #define SMST_ERR    176    /* Could not get server msg status */
  222. #define SMQZ_ERR    177    /* Could not set message server msg size */
  223. #define SINM_ERR    178    /* Unexpected file# assigned to [si] in rcv */ 
  224. #define SOUT_ERR    179    /* Server is at full user capacity */
  225.  
  226.  
  227. #define IKRU_ERR    180    /* Could not read symbolic key name */
  228. #define IKMU_ERR    181    /* Could not get mem for key symb name */
  229. #define IKSR_ERR    182    /* No room for sort key. increase MAXFIL */
  230. #define IDRU_ERR    183    /* Could not read file field number values */
  231. #define ISDP_ERR    184    /* Attempt to reallocate set space */
  232. #define ISAL_ERR    185    /* Not enough memory for multiple sets */
  233. #define ISNM_ERR    186    /* Set number out of range */
  234. #define IRBF_ERR    187    /* Null buffer in rtread.c */
  235. #define ITBF_ERR    188    /* Null target buffer in rtread.c */
  236. #define IJSK_ERR    189    /* Join_to skip */
  237. #define IJER_ERR    190    /* Join_to error */
  238. #define IJNL_ERR    191    /* Join_to null fill */
  239. #define IDSK_ERR    192    /* Detail_for skip */
  240. #define IDER_ERR    193    /* Detail_for error */
  241. #define IDNL_ERR    194    /* Detail_for null fill */
  242. #define IDMU_ERR    195    /* Could not get mem for dat symb name */
  243. #define ITML_ERR    196    /* Exceeded RETRY_LIMIT in RTREAD.C */
  244.  
  245. #define IMEM_ERR    197    /* Could net get memory for ifil block */
  246. #define BIFL_ERR    198    /* Improper ifil block */
  247. #define NSCH_ERR    199    /* Schema not defined for data file */
  248.  
  249. #define RCRE_ERR    400    /* Resource already enabled */
  250. #define RNON_ERR    401    /* Resources not enabled */
  251. #define RXCL_ERR    402    /* File must be exclusive to enable res*/
  252. #define RZRO_ERR    403    /* Empty resource id */
  253. #define RBUF_ERR    404    /* Output buffer to small */
  254. #define RDUP_ERR    405    /* Resource id already added */
  255. #define RCSE_ERR    406    /* Bad resource search mode */
  256. #define RRED_ERR    407    /* Attempt to get non-resource info */
  257. #define RNOT_ERR    408    /* Resource not found */
  258. #define LKEP_ERR    409    /* Not in use: available */
  259. #define USTP_ERR    410    /* User not active */
  260. #define BSUP_ERR    411    /* Not a superfile */
  261. #define LCIP_ERR    412    /* WRL to WXL commit promote pending(CIL) */
  262. #define SDIR_ERR    413    /* Superfile host not opened */
  263. #define SNST_ERR    414    /* Cannot nest superfiles */
  264. #define SADD_ERR    415    /* Illegal ADDKEY to superfile */
  265. #define SDEL_ERR    416    /* Illegal DELBLD to superfile */
  266. #define SPAG_ERR    417    /* Cache page size error */
  267. #define SNAM_ERR    418    /* Max name inconsistency */
  268. #define SRCV_ERR    419    /* Host superfile does not support recovery */
  269. #define TPND_ERR    420    /* Key update with pending transaction */
  270. #define BTFL_ERR    421    /* Filter not supported yet */
  271. #define BTFN_ERR    422    /* Other functions not sup */
  272. #define BTIC_ERR    423    /* Incomplete */
  273. #define BTAD_ERR    424    /* Add list err */
  274. #define BTIP_ERR    425    /* Batch in progress */
  275. #define BTNO_ERR    426    /* No batch active */
  276. #define BTST_ERR    427    /* Status info already returned */
  277. #define BTMT_ERR    428    /* No more info, batch cancelled */
  278. #define BTBZ_ERR    429    /* Bufsiz too small for record */
  279. #define BTRQ_ERR    430    /* Request is empty or inconsistent */
  280. #define LAGR_ERR    431    /* Aggregate/serialization lock denied */
  281. #define FLEN_ERR    432    /* Fixed length string requires len in DODA */
  282. #define SSCH_ERR    433    /* Segment def inconsistent with schema */
  283. #define DLEN_ERR    434    /* Very long def block not supported */
  284. #define FMEM_ERR    435    /* File def memory error */
  285. #define DNUM_ERR    436    /* Bad def number */
  286. #define DADR_ERR    437    /* defptr NULL during GETDEFBLK */
  287. #define    DZRO_ERR    438    /* Requested def blk is empty */
  288. #define DCNV_ERR    439    /* No conversion routine for Definition Block */
  289. #define DDDM_ERR    440    /* Dynamic dump already in progress */
  290. #define DMEM_ERR    441    /* No memory for dynamic dump file buffer */
  291. #define DAVL_ERR    442    /* One or more files not available for dump */
  292. #define DSIZ_ERR    443    /* File length discrepancy */
  293. #define DCRE_ERR    444    /* Could not create file during dump rcv */
  294. #define SDAT_ERR    445    /* Not enough data to assemble key value */
  295. #define BMOD_ERR    446    /* Bad key segment mode */
  296. #define BOWN_ERR    447    /* Only the file's owner can perform op */
  297. #define DEFP_ERR    448    /* Permission to set file definition denied */
  298. #define DADM_ERR    449    /* ADMIN has opened file. Cannot delete file */
  299. #define LUID_ERR    450    /* Invalid user id */
  300. #define LPWD_ERR    451    /* Invalid password */
  301. #define LSRV_ERR    452    /* Server could not process user/acct info */
  302. #define NSRV_ERR    453    /* No such server */
  303. #define NSUP_ERR    454    /* Service not supported */
  304. #define SGRP_ERR    455    /* User does not belong to group */
  305. #define SACS_ERR    456    /* Group access denied */
  306. #define SPWD_ERR    457    /* File password invalid */
  307. #define SWRT_ERR    458    /* Write permission not granted */
  308. #define SDLT_ERR    459    /* File delete permission denied */
  309. #define SRES_ERR    460    /* Resource not enabled */
  310. #define SPER_ERR    461    /* Bad permission flag */
  311. #define SHDR_ERR    462    /* No directory found in superfile */
  312. #define UQID_ERR    463    /* File id uniqueness error */
  313. #define IISM_ERR    464    /* ISAM level logon not performed */
  314.  
  315. #define IINI_ERR    465    /* Incremental Index: dnumidx < 1 */
  316. #define IIDT_ERR    466    /* Incremental Index: dfilno not a ISAM file */
  317. #define IINM_ERR    467    /* Incremental Index: aidxnam NULL for 1st */
  318. #define IITR_ERR    468    /* Incremental Index: active tran not allowed */
  319. #define NGIO_ERR    469    /* Negative I/O request */
  320.  
  321. #define SORT_ERR    370    /* Sort base: errors SORT_ERR + 101 thru 126 
  322.                    see CTSORT.C or CTERRC.H for error listing */
  323.  
  324. /* Sort errors range from 471 thru 496 (e.g.: SORT_ERR + 101 thru 126).
  325.    These errors are returned from routines found in CTSORT.C.
  326.    Error codes and short descriptions returned by these routines are as 
  327.    follows:
  328.  
  329. 471 = error deleting sortwork file
  330. 472 = error creating unique name
  331. 473 = error opening first dummy file
  332. 474 = too few handles available min 3
  333. 475 = error closing dummy file 
  334. 476 = error unlinking dummy file
  335. 477 = error getting first data area
  336. 478 = sinit phase not previously performed-srelease
  337. 479 = sreturn phase already started
  338. 480 = no records in data buffers
  339. 481 = sint phase not previously performed-sreturn
  340. 482 = not enough memory
  341. 483 = no valid record pointers in merge buffers
  342. 484 = error opening sortwork file
  343. 485 = error creating sortwork.00x file
  344. 486 = no records fit in output buffer
  345. 487 = error reading sortwork file
  346. 488 = bytes in buf <> merge buf size
  347. 489 = error adjusting file pointer
  348. 490 = error closing sortwork.00x
  349. 491 = error closing sortwork file
  350. 492 = error deleting sortwork file
  351. 493 = error renaming sortwork.00x
  352. 494 = error closing output file
  353. 495 = error creating output file
  354. 496 = insufficient disk space 
  355. */
  356.  
  357. #define NLOG_ERR        498 /* Old log file found during log create */
  358. #define FIDD_ERR        499 /* Mismatch between recv log & file id */
  359. #define SQLINIT_ERR        500 /* Server could not init SQL engine */
  360. #define SQLCONNECT_ERR        501 /* Could not init SQL for a user */
  361. #define SQL_REQUEST_ERROR    502 /* Could not access SQL master info */
  362. #define SQL_INVALID_CONTINUE    503 /* Could not continue SQL request */
  363. #define NSQL_ERR        504 /* Server does not support SQL */
  364. #define USQL_ERR        505 /* User profile does not enable SQL */
  365. #define SRFL_ERR        506 /* Could open save-restore file */
  366. #define SRIO_ERR        507 /* Could not process save-restore file */
  367. #define SRIN_ERR        508 /* Save restore inconsistency */
  368. #define DSRV_ERR        509 /* Duplicate server */
  369. #define RFCK_ERR        510 /* Active chkpnt at start of roll-forward */
  370. #define ILOP_ERR        511 /* Index nodes form illegal loop: rebuild */
  371. #define DLOP_ERR        512 /* Data file loop detected */
  372. #define SBLF_ERR        513 /* FPUTFGET does not support CTSBLDX () */
  373. #define CQUE_ERR        514 /* Queue has been closed */
  374. #define OIFL_ERR        515 /* Cannot convert old IFIL structure */
  375. #define GNUL_ERR        516 /* ctNOGLOBALS not allocated */
  376. #define GNOT_ERR        517 /* 'regid' is not registered */
  377. #define GEXS_ERR        518 /* 'regid' is already registered */
  378. #define IEOF_ERR        519 /* index logical EOF error */
  379. #define HTRN_ERR        520 /* Attempt to update index with 
  380.                        inconsistent tran# */
  381.                     
  382. /*                521 - 540 reserved for BANYAN env */
  383. #ifdef VINES
  384. #define BMAL_ERR        521 /* Could not allocate memory for the 
  385.                        streettalk login message buffer */
  386. #define STID_ERR        522 /* Userid in INTISAM does not match 
  387.                        current login id */
  388. #endif /* ifdef VINES */
  389.  
  390. #define LWRT_ERR        541 /* transaction log cannot be written  */
  391. #define MCRE_ERR        542 /* could not create mirror file      */
  392. #define MOPN_ERR        543 /* could not open mirror file      */
  393. #define MCLS_ERR        544 /* could not close mirror file      */
  394. #define MDLT_ERR        545 /* could not delete mirror file      */
  395. #define MWRT_ERR        546 /* could not write to mirror file      */
  396. #define MSAV_ERR        547 /* could not save mirror file      */
  397. #define MRED_ERR        548 /* could not read from mirror      */
  398. #define MHDR_ERR        549 /* mismatch between mirror headers      */
  399. #define MSKP_ERR        550 /* attempt to open primary w/o mirror:*/
  400.                     /* or'ing in a file mode of MIRROR_SKP*/
  401.                     /* permits a primary to be opened w/o */
  402.                     /* error                  */
  403. #define MNOT_ERR        551 /* file already opened without mirror */
  404.  
  405. #define PREA_ERR        555 /* could not read primary, switching  */
  406. #define PWRT_ERR        556 /* could not write primary, switching */
  407. #define CWRT_ERR        557 /* could not write mirror,suspend mir */
  408. #define PSAV_ERR        558 /* could not save primary, switching  */
  409. #define CSAV_ERR        559 /* could not save mirror, suspend mir */
  410.  
  411. #define SMON_ERR        560 /* only one of each monitor at a time */
  412. #define DDMP_BEG        561 /* SYSMON: dynamic dump begins      */
  413. #define DDMP_END        562 /* SYSMON: dynamic dump ends      */
  414. #define DDMP_ERR        563 /* SYSMON: dynamic dump ends (errors) */
  415.  
  416.  
  417. /* *** At the end of automatic recovery, the following conditions     *** */
  418. /* *** were detected which require cleanup before continuing. The     *** */
  419. /* *** specifics are reported on in CTSTATUS.FCS:              *** */
  420.  
  421. #define RCL1_ERR        570 /* incomplete compression          */
  422. #define RCL2_ERR        571 /* index rebuild required          */
  423. #define RCL3_ERR        572 /* incomplete compression & index re- */
  424.                     /* build required              */
  425. #define RCL4_ERR        573 /* primary\mirror out-of-sync. Copy      */
  426.                     /* good file over bad.          */
  427. #define RCL5_ERR        574 /* incomplete compression & primary\  */
  428.                     /* mirror out-of-sync          */
  429. #define RCL6_ERR        575 /* index rebuild required & primary\  */
  430.                     /* mirror out-of-sync          */
  431. #define RCL7_ERR        576 /* incomplete compression & index re- */
  432.                     /* build required & primary\mirror      */
  433.                     /* out-of-sync              */
  434.  
  435. #define NCON_ERR        590 /* could not find ISAM context ID      */
  436. #define OCON_ERR        591 /* old context ID. Call CLSICON()      */
  437. #define ECON_ERR        592 /* context ID exists          */
  438.  
  439. #define CLEN_ERR        595 /* varlen too small in PUTCIDX      */
  440. #define CMIS_ERR        596 /* missing information           */
  441. #define CINI_ERR        597 /* could not initialize expression      */
  442. #define CVAL_ERR        598 /* could not evalutate condtional exp */
  443.  
  444. #endif
  445.  
  446. /* end of cterrc.h */
  447.